package com.app.qbake.base.bean;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by wind on 2017/3/2.
 */

public class PhotoPreview implements Serializable{

    private String path;

    private int resId;

    private Map<String,String> extra;



    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public void put(String key,String value){
        if (extra==null){
            extra=new HashMap<>();
        }
        extra.put(key,value);
    }
    public String get(String key){
        return extra.get(key);
    }

    public void setExtra(Map<String, String> extra) {
        this.extra = extra;
    }
}
